package com.h3c.ptability.utils;

public enum ErrorCodeEnum {
    //个人以 21,22,23开头
    EMAIL_TEMPLATE_EXISTS(21001, "邮件模板已经存在"),
    EMAIL_TEMPLATE_NOT_EXISTS(21002, "邮件模板不存在"),

    TEMPLATE_NAME_EXISTS(25001, "已经存在名称或编码相同的文件模板"),
    FILE_TEMPLATE_NOT_EXISTS(25003, "文件模板不存在"),

    TEMPLATE_NOT_EXISTS(35001, "模板不存在"),
    TEMPLATE_EXISTS(35002, "模板已存在"),

    END_ENUM(23999, "结束枚举");


    private Integer code;


    private String massage;

    ErrorCodeEnum(Integer code, String massage) {
        this.code = code;
        this.massage = massage;
    }

    public Integer getCode() {
        return code;
    }

    public String getMassage() {
        return massage;
    }

}
